import instance from "./index"
// 登录信息
export const getPublicKey = () => instance({method: 'get', url: '/share_cane_manager_api/user/public_key'}) // 获取公钥
export const login = (data) =>instance({method: 'post', url:'/share_cane_manager_api/user/login', data: data}) // 用户登录

// 设备信息
export const equipmentList = (data) => instance({method: 'post', url:'/share_cane_manager_api/equipment/query_equipment_list', data: data}) // 获取设备列表
export const equipmentsCaneLlist = (data) => instance({method: 'post', url:'/share_cane_manager_api/equipment/query_equipments_cane_list', data: data}) // 获取设备下的拐棍列表

// 用户修改
export const updateOneselfUserPassword = (data) => instance({method: 'post', url:'/share_cane_manager_api/user/update_oneself_user_password', data: data}) // 修改个人密码
